﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Diagnostics.Metrics;

namespace CKS2320.Domain.DBEntity
{
    [Table("Op20coredata")]
    public partial class Op20coredata
    {
        [Key]
        /// <summary>
        /// 主键
        /// </summary>
        public long Id { get; set; }
        /// <summary>
        /// 二维码
        /// </summary>
        public string? SerialNumber { get; set; }
        /// <summary>
        /// 时间
        /// </summary>
        public DateTime? TestTime { get; set; }
        /// <summary>
        /// AC电压
        /// </summary>
        public float? VoltageAc { get; set; }
        /// <summary>
        /// AC电压单位
        /// </summary>
        public string? VoltageAcunit { get; set; } = "KV";
        /// <summary>
        /// AC电流
        /// </summary>
        public float? CurrentAc { get; set; }
        /// <summary>
        /// AC电流单位
        /// </summary>
        public string? CurrentAcunit { get; set; } = "mA";
        /// <summary>
        /// AC判定（OK/NG）
        /// </summary>
        public string? ResultAc { get; set; }
        /// <summary>
        /// DC电压
        /// </summary>
        public float? VoltageDc { get; set; }
        /// <summary>
        /// DC电压单位
        /// </summary>
        public string? VoltageDcunit { get; set; } = "KV";
        /// <summary>
        /// DC电流
        /// </summary>
        public float? CurrentDc { get; set; }
        /// <summary>
        /// DC电流单位
        /// </summary>
        public string? CurrentDcunit { get; set; } = "uA";
        /// <summary>
        /// DC判定（OK/NG）
        /// </summary>
        public string? ResultDc { get; set; }
        /// <summary>
        /// 通道信息
        /// </summary>
        public string? Passageway { get; set; }


        /// <summary>
        /// 总长
        /// </summary>
        public float? TotalLength { get; set; }
        /// <summary>
        /// total LengthJudge判定
        /// </summary>
        public string? TotalLengthJudge { get; set; }
        /// <summary>
        /// totalLengthUnit单位
        /// </summary>
        public string? TotalLengthUnit { get; set; } = "mm";



        /// <summary>
        /// 大端垂直度
        /// </summary>
        public float? bhverticality { get; set; }
        /// <summary>
        /// 大端垂直度 结果
        /// </summary>
        public string? bhverticalityJudge { get; set; }
        /// <summary>
        /// 大端垂直度单位
        /// </summary>
        public string? bhverticalityUnit { get; set; } = "mm";


        /// <summary>
        /// 小端垂直度
        /// </summary>
        public float? shverticality { get; set; }
        /// <summary>
        /// 小端垂直度 结果
        /// </summary>
        public string? shverticalityJudge { get; set; }
        /// <summary>
        /// 小端垂直度单位
        /// </summary>
        public string? shverticalityUnit { get; set; } = "mm";
        /// <summary>
        /// 大小总判定
        /// </summary>
        public string? shverticalityTotalJudge { get; set; }
        /// <summary>
        /// 20总结过
        /// </summary>
        public string? finalJudge { get; set; } 
      
    }
}
